; Eventsfile 1 - Franken

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
12
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
CITYTAKEN
city=Aachen
attacker=ANYBODY
defender=Germans
@THEN
TEXT
^Aachen, one of the most important German cities, falls after 
a long siege, even lasting for several months! The conquerors 
capture nearly the whole Imperial Treasure!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=London
attacker=ANYBODY
defender=English
@THEN
TEXT
London, seat of the English King, is conquered after hard 
battles! The victors capture the Crown Jewels!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Paris
attacker=ANYBODY
defender=Franks
@THEN
TEXT
^Paris, residence of the Frankish King, falls after a fierce 
struggle! The besiegers discover numerous treasures!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Ribe
attacker=ANYBODY
defender=Independants
@THEN
TEXT
^After a long siege, the Viking city of Ribe is 
completely destroyed...
ENDTEXT
JUSTONCE
CHANGETERRAIN
terraintype=1
maprect
38,4,38,4,38,4,38,4
@ENDIF

@IF
CITYTAKEN
city=Hedeby
attacker=ANYBODY
defender=Independants
@THEN
TEXT
^Hedeby, an important Viking trade center, is captured and
totally plundered.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Alexandria
attacker=ANYBODY
defender=Aijubides
@THEN
TEXT
^Alexandria, the most important seaport of Egypt, 
falls with tough resistance! At the storm on the 
city valuable stocks are destroyed!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=-300
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Reggio
attacker=Independants
defender=ANYBODY
@THEN
CREATEUNIT
unit=City Guard
owner=Independants
veteran=yes
homecity=none
locations
59,81
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Reggio
attacker=Independants
defender=ANYBODY
@THEN
CREATEUNIT
unit=Warrior
owner=Independants
veteran=yes
homecity=none
locations
59,81
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Crotone
attacker=Independants
defender=ANYBODY
@THEN
CREATEUNIT
unit=City Guard
owner=Independants
veteran=yes
homecity=none
locations
61,75
JUSTONCE
endlocations
@ENDIF

@IF
CITYTAKEN
city=Crotone
attacker=Independants
defender=ANYBODY
@THEN
CREATEUNIT
unit=Warrior
owner=Independants
veteran=yes
homecity=none
locations
61,75
JUSTONCE
endlocations
@ENDIF

@IF
CITYTAKEN
city=Rome
attacker=ANYBODY
defender=Independants
@THEN
TEXT
^Rome falls under heavy attacks! The pope escapes to Avignon! 
The whole Christianity is shocked!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=Franks
defender=ANYBODY
@THEN
TEXT
^Franconian Crusaders take Jerusalem! The whole Christianity thanks 
the victorious holy warriors!
^The Pope calls for a search for the True Cross of Jesus!
ENDTEXT
PLAYWAVEFILE
GLOCKEN.WAV
JUSTONCE
GIVETECHNOLOGY
receiver=Franks
technology=73
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Swordsman
owner=Germans
veteran=yes
homecity=none
locations
39,33
38,24
46,34
43,25
48,18
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
TEXT
^Sire, a good year for our peasants, the surplus of 
Wheat brought additional 30 Gold into our treasury.
ENDTEXT
CREATEUNIT
unit=Cavalry
owner=Byzantines
veteran=yes
homecity=none
locations
77,59
81,61
74,68
85,63
endlocations
CHANGEMONEY
receiver=Franks
amount=30
@ENDIF

@IF
RANDOMTURN
denominator=14
@THEN
TEXT
^Sire, the times are unsafe. Honourable merchants were 
robbed on their way through our realm. We paid 20 Gold 
to balance out their losses.
ENDTEXT
CREATEUNIT
unit=Plunderer
owner=Independants
veteran=yes
homecity=none
locations
22,36
15,41
16,44
25,31
17,47
endlocations
CHANGEMONEY
receiver=Franks
amount=-20
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
TEXT
^Sire, Viking plunderers were sighted in the north of our realm!!
ENDTEXT
CREATEUNIT
unit=Viking Prince
owner=Independants
veteran=yes
homecity=none
locations
27,31
27,33
28,32
27,29
26,30
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=no
homecity=none
locations
24,34
19,37
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=no
homecity=none
locations
15,71
11,69
4,76
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
TEXT
^Sire, one of our Bishops asked for our 
support to found a new monastery. Our gift 
of 20 Gold was gladly accepted.
ENDTEXT
CREATEUNIT
unit=Longboat
owner=Independants
veteran=yes
homecity=none
locations
29,17
endlocations
CHANGEMONEY
receiver=Franks
amount=-20
@ENDIF

@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
unit=Camel Rider
owner=Barbarians
veteran=yes
homecity=none
locations
38,98
44,98
50,108
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Beduines
owner=Barbarians
veteran=yes
homecity=none
locations
16,108
15,107
15,105
24,102
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Beduines
owner=Barbarians
veteran=yes
homecity=none
locations
114,98
114,100
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Light Cavalry
owner=Barbarians
veteran=yes
homecity=none
locations
110,66
111,77
113,83
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
unit=Mounted Archer
owner=Barbarians
veteran=yes
homecity=none
locations
113,83
116,94
108,104
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=9
@THEN
CREATEUNIT
unit=Mounted Archer
owner=Barbarians
veteran=yes
homecity=none
locations
24,68
25,71
24,70
23,67
22,66
endlocations
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=Independants
defender=Franks
@THEN
TEXT
^Sire, strangers came in our village, they took our money and burned
^our houses to the ground. Where were your knights to protect us?
ENDTEXT
CHANGEMONEY
receiver=Franks
amount=-30
@ENDIF

@IF
UNITKILLED
unit=Wooden Castle
attacker=Franks
defender=Independants
@THEN
TEXT
^A wooden castle of hostile nobles was plundered and destroyed. 
The survivors arrive in Orleans, where they agree to serve you, Sire!
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Franks
veteran=yes
homecity=none
locations
28,42
endlocations
CHANGEMONEY
receiver=Franks
amount=50
@ENDIF

@IF
TURN
turn=0
@THEN
TEXT
^955 AD. While Otto I. defeats the Magyars heavily in Southern Germany, the
once so mighty Franconian empire is only a weak realm. The land still suffers 
from Viking plunderers, but also the numerous feuds between the Fraconian 
nobles are an obstacle on the way to a more stable kingdom. Especially the 
Catholic church criticises these circumstances, and demands a more active role 
of the Franconian knights in the reconquista against the Moors in Spain... 
ENDTEXT
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
46,34
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
38,24
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
38,24
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
39,33
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
39,33
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=Warrior
owner=Germans
veteran=yes
homecity=none
locations
52,30
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
48,18
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
46,58
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
49,55
endlocations
@ENDIF

@IF
TURN
turn=0
@THEN
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
43,11
endlocations
@ENDIF

@IF
TURN
turn=7
@THEN
TEXT
^962 AD. Otto I., called "the Great" after his victory over the 
Magyars is crowned as emperor of the Holy Roman Empire in Rome. 
ENDTEXT
CREATEUNIT
unit=City Guard
owner=Germans
veteran=yes
homecity=none
locations
42,54
endlocations
@ENDIF

@IF
TURN
turn=14
@THEN
TEXT
^969 AD. In Egypt begins the rule of the Fatimid dynasty.
The Fatimids found Cairo as their capital in the same year.
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=no
homecity=none
locations
33,61
28,72
endlocations
@ENDIF

@IF
TURN
turn=25
@THEN
TEXT
^Ca. 980 AD. Under Eric the Red Vikings begin to settle on Greenland.
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=no
homecity=none
locations
33,61
28,72
endlocations
@ENDIF

@IF
TURN
turn=32
@THEN
TEXT
^987 AD. In the Franconian empire the noble house of the Capetians 
seizes the crown, but the still weak central power is not able to 
stop the numerous feuds between the Franconian Aristocrates soon. 
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=yes
homecity=none
locations
33,61
28,72
endlocations
CHANGEMONEY
receiver=Franks
amount=150
JUSTONCE
@ENDIF

@IF
TURN
turn=33
@THEN
TEXT
^988 AD. Vladimir, grand duke of Kiev converts to Christianity. 
ENDTEXT
unit=City Guard
owner=English
veteran=yes
homecity=none
locations
20,24
endlocations
@ENDIF

@IF
TURN
turn=42
@THEN
TEXT
^997 AD. King Stephan I. of the Magyars changes over to Christianity.
ENDTEXT
CREATEUNIT
unit=City Guard
owner=English
veteran=yes
homecity=none
locations
24,26
endlocations
@ENDIF

@IF
TURN
turn=45
@THEN
TEXT
^Ca. 1000 AD. Viking Longboats under Leif Ericson reach North America.
^At the same time Sancho III of Navarre begins his rule. During the next
years he subdues Aragon, seizes control over Castile and negotiates with
Len to unify the north of Spain under his rule.
^Also ca. 1000 a new Christian movement begins to develop, at first mainly 
in the abbey of Cluny in Burgund. These so-called Cluniac reformists 
criticise the established Catholic Church because of its enourmous wealth, 
and demand a return to old Christian values.  
ENDTEXT
CREATEUNIT
unit=City Guard
owner=English
veteran=yes
homecity=none
locations
19,29
endlocations
@ENDIF

@IF
TURN
turn=61
@THEN
TEXT
^1016 AD. Canute the Great becomes King of England, later he rules also 
over Denmark and Norway. 
ENDTEXT
CREATEUNIT
unit=City Guard
owner=English
veteran=yes
homecity=none
locations
20,24
endlocations
@ENDIF

@IF
TURN
turn=64
@THEN
TEXT
^1019AD. Jaroslav the Wise, King of Kiev, begins a reign that 
will witness the codification of Russian law and the construction 
of cities, churches, and schools throughout his land.
ENDTEXT
@ENDIF

@IF
TURN
turn=69
@THEN
TEXT
^1024 AD. When Conrad II. becomes King of Germany, the time of the Ottones is over...
ENDTEXT
CREATEUNIT
unit=City Guard
owner=English
veteran=yes
homecity=none
locations
13,31
endlocations
@ENDIF

@IF
TURN
turn=76
@THEN
TEXT
^1031. The Ummayad Caliphate of Crdoba disintegrates into several small
realms, a favorable circumstance for the Christian Reconquista of Moorish
areas of Spain.
ENDTEXT
@ENDIF

@IF
TURN
turn=80
@THEN
TEXT
^1035. After of death the Sancho III its realm is divided 
again into separate kingdoms, the division obstructs the 
continuous Reconquista. However, Ferdinand I. of Castile 
is able to conquer Lon only two years later. 
ENDTEXT
@ENDIF

@IF
TURN
turn=98
@THEN
TEXT
^1053. The Normans under Robert Guiscard conquer in constant fights 
against Byzantines and Arabs their own kingdom in Southern Italy.
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=yes
homecity=none
locations
60,70
60,74
60,80
59,69
60,78
GIVETECHNOLOGY
receiver=Independants
technology=75
JUSTONCE
@ENDIF

@IF
TURN
turn=98
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
60,70
60,74
60,80
59,69
60,78
endlocations
@ENDIF

@IF
TURN
turn=98
@THEN
CREATEUNIT
unit=Trebuchet
owner=Independants
veteran=yes
homecity=none
locations
60,70
60,74
60,80
59,69
60,78
endlocations
@ENDIF

@IF
TURN
turn=98
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
60,70
60,74
60,80
59,69
60,78
endlocations
@ENDIF

@IF
TURN
turn=98
@THEN
CREATEUNIT
unit=Siege Tower
owner=Independants
veteran=yes
homecity=none
locations
60,70
60,74
60,80
59,69
60,78
endlocations
@ENDIF

@IF
TURN
turn=99
@THEN
TEXT
^1054. Final Schism (Division) between the Roman-Catholic Church 
of Western Europe and the Greek-Orthodox Church of Byzantium.
ENDTEXT
CREATEUNIT
unit=Siege Tower
owner=Independants
veteran=yes
homecity=none
locations
60,80
59,79
61,77
60,76
60,74
endlocations
@ENDIF

@IF
TURN
turn=99
@THEN
CREATEUNIT
unit=Siege Tower
owner=Independants
veteran=yes
homecity=none
locations
60,80
59,79
61,77
60,76
60,74
endlocations
@ENDIF

@IF
TURN
turn=99
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
60,80
59,79
61,77
60,76
60,74
endlocations
@ENDIF

@IF
TURN
turn=105
@THEN
CHANGETERRAIN
terraintype=4
maprect
54,84,54,84,54,84,54,84
CREATEUNIT
unit=Peasant
owner=English
veteran=yes
homecity=none
locations
6,24
endlocations
@ENDIF

@IF
TURN
turn=105
@THEN
CREATEUNIT
unit=Siege Tower
owner=Germans
veteran=yes
homecity=none
locations
51,13
50,12
49,11
53,11
endlocations
@ENDIF

@IF
TURN
turn=105
@THEN
CREATEUNIT
unit=Spearman
owner=Germans
veteran=yes
homecity=none
locations
51,13
50,12
49,11
53,11
endlocations
@ENDIF

@IF
TURN
turn=105
@THEN
CREATEUNIT
unit=Siege Tower
owner=Germans
veteran=yes
homecity=none
locations
49,11
53,11
51,13
50,12
endlocations
GIVETECHNOLOGY
receiver=Germans
technology=87
JUSTONCE
@ENDIF

@IF
TURN
turn=105
@THEN
CREATEUNIT
unit=Spearman
owner=Germans
veteran=yes
homecity=none
locations
49,11
53,11
51,13
50,12
endlocations
GIVETECHNOLOGY
receiver=English
technology=88
@ENDIF

@IF
TURN
turn=106
@THEN
TEXT
^1061. The Normans take Sicily.
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=yes
homecity=none
locations
54,84
55,83
54,86
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
55,83
54,86
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Trebuchet
owner=Independants
veteran=yes
homecity=none
locations
55,83
54,86
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
54,84
55,83
54,86
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Trebuchet
owner=Independants
veteran=yes
homecity=none
locations
54,84
55,83
54,86
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Spearman
owner=Independants
veteran=yes
homecity=none
locations
52,86
53,83
53,85
endlocations
@ENDIF

@IF
TURN
turn=106
@THEN
CREATEUNIT
unit=Siege Tower
owner=Independants
veteran=yes
homecity=none
locations
52,86
53,83
53,85
endlocations
@ENDIF

@IF
TURN
turn=111
@THEN
TEXT
^EVENTSCHANGE
^
^1066. William, Duke of Normandy, begins his struggle for the English crown.
After his army crossed the channel he defeats his opponent Harold in the 
battle at Hastings. William, soon called "the Conqueror", becomes now King of
England, he establishes the Norman rule over the island for the next centuries.
^
^Please, save the game now and change the events files. You can 
find detailed instructions about the events change in the 
helpfile of this scenario, under Installation/Scenario Setup.
ENDTEXT
CREATEUNIT
unit=Armoured Cavalry
owner=Independants
veteran=yes
homecity=none
locations
54,84
endlocations
GIVETECHNOLOGY
receiver=Aijubides
technology=21
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=81
receiver=Almohads
@THEN
GIVETECHNOLOGY
receiver=Aijubides
technology=81
JUSTONCE
@ENDIF

@ENDEVENTS
